moved global constants to config file, fixed spacing