Add support for Composer

Fixes #8.