cleaned sample app main header and import