Added composer.json. Updated readme and tests docblock