added javax.inject api, code review for testability, added ws impl unit test.