Moved configuration in server to it's own class