dump basic demo code, included three libraries as well...