added composer.json
added wrapper class and dependecy injection