Worked on the core structure of the backend.