normalize handle api
handlers can call module functions