setting up foundation & directory structure