refactored settings logic. implemented support for settings overrides in project files