minor changes, some code cosmetics, added to_s methods, better comments, removed obsolete development_dependency