Adding package json for npm, updates to README, finished convenience functions