added rest config
moved session beans to ejb package, added new service layer