basic set up yii, gii, database