Moving out 'Options' class.

Some absent tests was added.
The 'Server' class needs more simplifications.