added simple example and commented the library a little more