added password class, config updated