Renamed the frontend, removed some debug stuff and verified the code