Main function

Add code to create data directory.