adding poms for the rest module and fixing compile issue