unit.cpp

Main class