Bump version to 0.1.2 (first semantic versioning)

- First release based on the Semantic Versioning
- Minor code cleanup and refactoring.