adds the app injector
refactored the code to fit in packages, added Jersey + Jackson bindings