Create functions.txt

Most important file of the app. All the functions are declared/defined here