Put the extra classes in GameObject.hpp  into separate files