template facebook bean and service files