Replaced variables with config.get methods
Use encapsulation
Replaced many variables with Config get methods