added composer.json;
updated readme;
various fixes.