refactored config to include rest and test configs