Refactor code into a frontend and backend layout with consistent directory structures
Refactor code into a frontend and backend layout with consistent directory structures