Building the RestMs model out