creation of composer file

it would be great if we add the require packages in the composer and autoload instead of store them in the project