Using traits and updating composer.json for PHP Version handling