moved all constants to config file