moved front end into server file structure