Factor out physics example. Physics is now a library.