added smarty driver
added the config class