Re-organizing config/rc files into their own directory
Fixing mkdir function to be less platform specific