Implemented  new unit, cell and building classes, still some work to do there.