removing jersey completely. fixing previous api calls