Fill in some route functionality
add api rote file