Adding Clock Register Functionality. Register and Tick are implemented