Split the app between the frontend and the app