Create all the needed directories