Adapted example project slightly renaming stuff and fixing indentation.