Implemented clock and rewrote hal subsystem