get staticdir correctly in covers controller
removed unused controller "Styles"
get staticdir correctly for less compiler and reloader