PsqlModule class added
cleaned up a bit of code
Server now has support for PsqlModule