Updated code to utilize agents and activate agent upon start up.
Removed swagger plugin since it was conflicting with JAX-RS annotation during runtime.