Converting to globals

* This will add support for composer.

Change-Id: I2e9aff2a003a8e196bce6db548933ad7bd957d31