Password class

+Password class
+Perimit enum

*fixed some comments