Refactored classes to definitions, pom dependencies , implemented REST
API- TODO debug 3 methods in the UniqueIdResource