move slate config into new slate dir
restructure files into function, not platform