Modularize into classes, provide args for max_size and root_dir