make init function that creates directory and file structure