made student list refreshable based on server stuff
fixed up some code
made fetching objects mappable to relationships
renamed Type as CodeType to avoid compiler confusion