foo_t foo = new Foo('/path/to/dir'); foo.init();