add redirect states
add categories structure
add mongoose database and api routes