moved to express
add redirect function
added express module