Coding style tweaks.
Simplified getter/setter conditional.
Adding tests. Closes #1.
Adding Changelog.
Updating readme.
Release 1.0.0