Add python cache directory and compiled files, and add comments