Revert "Added API code v1.01"

This reverts commit 06816eba663e59c01687159caca5d3a16fe6a79d.
Added API Code v1.01

Added API Code to communicate with the db.