marked the implicit classes private
refactored Restource to RestResource