improved logic for model, collection, and views
added more logic for collection view and css styling