Enable callback functions

Add callback for clock
Remove debug opcode