Added database and db calls

Using SQL local DB