Implement Server and Handler classes

Please check for sanity. Keep in mind: No tests written for the classes.