added docs and licensing