added collection for portfolioItems, connected views to models and models to the database, exposed the router globally in order to use the navigate method