configure router
add home
add home route
move function from exports.* to standalone