tidies up directories and created deploy directory