Implement mkdir
C++-ize a bunch of things
Catch exceptions in main, replace NULL with nullptr
Finish replacing NULL with nullptr
Clean up even if exception caught