Initial Functions Commit

Initial commit of functions file.