Started implementing fragments. Hopefully they will work tomorrow. Fixed class_menu.