conversion to composer

Convert the repository to use composer