Application and code samples on github. Check the tags for a step-by-step transformation of the code. https://github.com/WocketWare/soliloquy/tree/v3