added sample application code

add sample application project code