config class, improved user/registration, improved core