Reorganize frontend project structure