add license files
add legal stuff
fix more stuff
got the sample running with emf and from the command line