Added a functions class file in order to be used by forms, views or other classes