Removed parameters from code, put them in Config table