Conversion to hm lib
Fixed light switches
Added some files..