Add alert and closure function system~
Move authManager to modules dir
Finish moving AuthManager
Load template with require