Deleted component system.
Added class for handling time functions.