Refactored som code. Cleaned up examples.
Updated examples.
Bumped version.