refactored riak.schema bits to other repos