Fix basehandler, add hackerearth config, add router,handler run_code