intial work on cpu emulation

some startup code for Z80
implemented a few functions in timer
more timer functions
implemented a few more functions in timer and cpu interface class