Made all config variables private

The config file is now a class named config with private variables and
function that will return the variables so extra security. **This is the
start of the sql queries rewrite.