Refactor global constants into App class