Fixes #15; initiliazes conn to db
Merge pull request #21 from mihaineacsu/15-init-conn-db

Fixes #15; initiliazes conn to db