changed api template layout to have rfBody class