moving to functions.js file to classes folder
adding classes folder to compiler
removing functions from namespace because it’s unneeded