added view check
added canview to every model
updated createOrUpdate to not take in unneeded view var
simplified saving of company
updated static getRules method
moved to new abstracted methods for RESTful requests