changed name from api.go to routes.go