Deleted old database file and added new api

Added Database API to repo.

Removed old database file