Updated calculator to utilize external script

Removed calculator scripts from HTML file and put them in their own
external class