Add schemes.py
Class refactoring, webui updates

Remove unused imports, make LightInterface class, updates to webUI