Changed all remote calls to only use primitive types
Added some documentation, will need to add more