break routes into different files, add preview route