refactoring
formatting
init data directory
save filtered StatusPage records to the log file