src and test change

change the package and class name from "service.*" to "resource.*" ...