sampleapp

lots of small changes