extracted code from application to create a new composer package