Added light on/off

Edited main, and added controls and used wrapper classes