Projects class, projects template, route to a function