Developing Database Api