Created rec service and extended main controller

fixed issue #14