spring application context cleanup and split
implements issue #60, not perfect but works
fixed pom and refactored classes into proper packages.