Beginning of the authentication/authorization module.  (WIP)
Additional reorganizing of existing structure.