create keyspace object