typedefs moved to model and global defines; getSpaceCell and getFractionsPool moved to template FractionCell. To think: maybe it is time to create objects it grid elements dynamically