setting up directory and structure