updated revision, fixed README, added distribution constructors