record method added, NOT TESTED YET!
main added
main cleaned up
Merge remote-tracking branch 'origin/master' into evanTest