Added comments for Jersey dependency.
Changed the dependency injection over to Spring.
Configured the logging.