Moved model classes for remote api to their own package.