Extract several field keys and error messages to variables in CompilerService
minor cleanup
Abstract out redundant code in compile Actions via Action factory.