added autoloader to smarty2