HBASE-12197 Move rest to it's on module