generated home page, set up route
made changes for tests, moving to JSON api