Moved functions file to new folder