Unified time functions.
Added graphics loading constructors for entity.