restructured packages
added jersey as rest endpoint