Updated the datastore register method and several helper methods. Refactored all of the methods to raise errors and return standard values... no more of this returning json business.