changed arguments order for callbacks (now 'name', 'host'), added 'name_from_url' helper to extract a default module name