init sample app