fixed indentation in headers
enums replaced with enum classes