Added smarty
The DatabaseFactory can now find its database wrappers