Adding some directories, and fixing up .gitignore

Add cache config and templates directories, for later use