making it work with composer

added composer. json and added gitignore