Added a smarty class to allow limited interfacing with FEU via smarty.