Main method

Add Main method to work with Server class