add following functions
 * print data in debug mode
 * color option
 * add `output-dir`