Added a check if the required plugin/view class exists
Added a simple day/night plugin