Added functions.rb to the project