fixed router, added model, collection and json file for testing