Adding spring security plugin.
Refactoring domain classes.