move routes to separate file
change saving flow [WIP]