Broke app into frontend and backend and added an .htaccess for routing