Made changes to accomodate module working from inside the common folder of YiiBoilerplate