Added configuration support for server

Moved configuration parameters to external files for server.