full refactoring of the sample app
renamed some files