New classes included. Password validation implemented.
Database connection is now external.