Make return statements a little nicer
Add tests
Add .gitignore
Fix comments, add documentation reference
Add another check for valid auth schema