Add support for flattening paths & reorganize files.
refactor options parsing to use commander