adding a app sample as template