Split cell class

Moved the cCell class’ implementation to a .cpp file and changed the
only real function into the class constructor.