Create a new auth package for authentication related codes
Reorganized the code into a auth package