Fixes #19; Passes db reference to server request handler
Merge pull request #22 from mihaineacsu/19-pass-db-reqhandler

Fixes #19; Passes db reference to server request handler