Adding dynamic main variables.
Credentials and TEST Vars moved to local config file to eased production and dev enviroments.