Added missing stuff like clock source setting , interupt handler block templates