Add an ability to use non-default database port

Fixes #40
Fix phpdoc comments