code cleanup 

code cleanup
rename DocumentValidateResource to RedPen resource
remove unused methods
rearrange method order in RedPen