Implemented config file. Started to remove some configs from Const.