Tech upgrade

1. update to jersey 2.
2. Model refactor.