Generated AFUpdater method
Programmed the checking logic
Reformatted code
Merge pull request #32 from JoshuaCrocker/30-cli-updater

30 cli updater
close #30