Apply to PEP8, add special case command=command
abstract cache class
refactor: cache class, pages & commands in source module, report does the analysing