added some comments, removed demo code
updated readme