initial commit with actual code

Style note which you can ignore or whatever: 

This should be the normal behaviour so it should be first in the branch so people can read it more easily. i.e. if the directory exists, do something; otherwise, do a bunch of bs that people can hopefully ignore.