Move the keyspace/table creation code so it could be easily overridden by custom stores.