[enh] cleanup
[enh] putting it all together
[bug] fix username
[bug] create dir if not exists