refactor struts2 config module