Added parsing of Switch and Dimmer object
Added a EntityFactory to easily create objects
Removed some excessive logging