Add create object API
Implement query feature