Added common.h and CellsRegistry class