Started entity system and added doxygen