add BaseHandler() and RegisterHandler()
every handler are inherited from BaseHandler now.