fixed reload cache issue and added pyc to gitignore