Lib files moved into lib/ dir.
Licence added.