added demographics api for db
bug fixes to API
Merge pull request #9 from littlehawk93/demographics-api

Demographics api