Added composer support. Fixes #1