code: public static function init ($options = array())
      {
          Flight::map("render", function($template, $data, $toVar = false){
              Flight::view()->render($template, $data, $toVar);
          });
  
          Flight::register('view', get_called_class(), $options);
      }
docs: Initialise the template engine
  
  @param array $options Mustache options