Class created to use CGridView