Added template for the home page
Fixed the home page and api stuff