trial program

This is the code to try the libraries. Currently there are several problems with this. Check readme for details.