Added Image Detector stub.
Added log to file feature.
Added some tests for controller.