/** !Route GET */
 public function home()
 {
     $this->default = Databases::getDefaultSource();
     $this->sources = Databases::getSources();
     $this->sourceInfo = array();
     foreach ($this->sources as $name => $source) {
         if ($name != 'Default') {
             $this->sourceInfo[$name]['dsn'] = RecessConf::$namedDatabases[$name];
         } else {
             $this->sourceInfo[$name]['dsn'] = RecessConf::$defaultDatabase[0];
         }
         $this->sourceInfo[$name]['tables'] = $source->getTables();
         $this->sourceInfo[$name]['driver'] = $source->getAttribute(PDO::ATTR_DRIVER_NAME);
     }
 }
 /** !Route GET, app/$app/model/gen */
 public function createModel($app)
 {
     $this->sources = Databases::getSources();
     $this->tables = Databases::getDefaultSource()->getTables();
     $this->app = $app;
 }