PostgreSQL support + GET query string

Added an option to use PostgreSQL and parameters can now be sent via GET
as a query string.