Added composer support

fixes #3