added routes, views for Type controller and composer.json