Added examples, fixed some issues
changed dir structure and added a Makefile.