Added a seperate file for functions. Added skeleton code for some functions.