Basic threading

-Updater is now on own thread
-Prepared for state concept
-Prepared an entity super class