updated composer.json
cleaned up public api