added some comments for better structure
added readme file.
added simplistic makefile for examples