PHP framework with CI + Smarty