Added easy-to-use functions and refactoring
Merge pull request #12 from xenog/stratum-context

Added easy-to-use functions and refactoring