Stratum library rewrite
Merge pull request #88 from xenog/stratum-simple

Stratum library rewrite