create authenticator class

This should take care of #24. So far, I'm not goign to merge it in until I pull out the rest of the local authentication functions.  Woot.