Configuration file and refactored app