refactoring creation of lightview

created an application context (factory) for creating objects
initialize lightcontroller with view and model
checklightstatus now updates view (and added test)
updated menucontroller to actually track lightcontrollers (and not
lightviews)