move all constants to config files and begin fixing tests