Reorganized frontend files