update docs
add copyright and license
fix offset parent behavior to match native