Added Apache2 license, fixed issue 98