Renamed reboot function.
Added methods to template process.
Finished kernel code implementation.