Added basic database functionality
Updated api description