class no longer use config.php. Instead it uses const variables