Basic classes for a 3d game engine