Added licence file
minor fixes + update docs