Refactor for reading properties
send hostname, refactor
Handle unavailable locate command
Refactor
Added PostgreSQL support
Merge pull request #25 from dduvnjak/master

PostgreSQL support; refactoring