Added generic functions class
Merge pull request #6 from tfermm/master

Added generic functions class