Reworked the structure of the frontend application