Added record API endpoints and testing for endpoints. Added API docs and fixed productionizing workflow to work with Heroku.