code moved to /lib & /src, license added