upgraded dependencies, and new ExampleMain simple example for embedding in apps