Add Smarty Template Engine and PHP Prepared Statements