Separeted the backend and the frontend