refactored app constants