re-added linkTags into header; clean up
started moving out api functionality out of the route file into controllers/api.js
missed a file in previous commit