File serialization, cleanup, formatting

Added file serialization, did some code clean up, formatted output to
reddit styled tables.