Draw/update functions and time handling fleshed out