General code cleanup

Removed extra license info, added plug for auto-reboot function later.