Create common.php

Committed the new common library file.