Is there any guide to write a small sample application in S4