Codes and regulations in construction