Rewrite code style, add cache folder, and removing some unused 3rd party plugins