Moved server exception classes to server module. Server now supports
configuration for most important parameters.