Removed Smarty namespace
Commented the autoloader, changed to static spl loader and added a validation for set fields