minor fixes. add composer support