Update init.php

Added Smarty template engine, and settings