ripped out a bunch of stuff from teacherhtml and js with view still to come