make defaultsessionformula context spring'able
clean up environment
Merge branch 'core-refactor' of github.com:webdetails/cda into core-refactor