Moved the application and app into app directory, and wrote code in index.php to serve the index.html file.