finished frontend

finished frontend and parts of intermediate
also had to reorder some misplaced files