remove a missleading log
split the search & main controller
migrate the views from html to jade