less middleware, info on main page, files refactored