convert #defined constants into proper type-safe variables
convert macros into functions
convert macro usages into a new member function
convert macro into function
convert remaining #defines from Constants.h into enums