some fixes in App
geter and setter of Name in ResourceSample