Moved handlers to a separate package, moved main method to Server class