Rest Implementation and Refactored Specs