Removed the dependency with the DependencyInjectionApplication.  Also made sure that we serialize the objects instead of writing code that we later execute.