Initial code of sample application