Added templating, routes, and controllers