Implemented C++11 style class enums. Still need to port apollo itself to use C++11 enums