Cut down all code from the example project, to turn into a skeleton project for new projects