Fixed double loading of everything by putting the definitions into the application instead of the servlet. Works, but not pretty, may have to redo.