move constants out of app delegate and version control