dao refactor, contact form resolving
refactored java config