Added draft version of Jersey implementation and other minor changes.