Markdown readme file.
Moved everything in a lib/ directory.
Added composer file.
Updated readme.