used gii to auto-generate MVC stuff