move api paths into one place
add routes to serve front-end application