added support for jersey servlet container and cleanse the project