Implemented into the base model the "tableName" method that should be able to work with the current class name.
Added Gii generator templates so I can start cleaning up the rendered files.