add/edit a class view fully done. Edit part now functional