part changes to use spring beans and rabbit spring (not finished)