Add authentication class.
large changes.
Merge pull request #1 from corrupt952/develop

大幅修正