Minor changes & dual licence

Updated comments based on user feedback
Re-factored invoking array of functions
Dual licence under GPL and MIT