add licence. update readme. move lib to root.