Create Handler module

MainHandler.py is public for client.
handlers.py is private for service.