Make good package.
Create config files if it does not exist.
Improve exception handling and tree printing.