Deleted extra comented code; new functions file; updated README; updated change log; improved error handling email