Adds JSON response for parsing data
Fixes some of the measurement testing
Handles additional edge cases
Adds .try to save error
replaces controller action with gem usage
Strips out gem logic and replaces it with gem usage
Sets up gem for production