added demographics api for db
made Javascript to call Init API

Bug fixes to init API
Merge pull request #8 from littlehawk93/init

made Javascript to call Init API
bug fixes to API
Merge pull request #9 from littlehawk93/demographics-api

Demographics api
Merge branch 'master' of https://github.com/littlehawk93/DBMS-Project into demographics