Split the app into the frontend and the backend