Add debug mode, refactor code into functions.
Add debug mode, refactor code into functions.
aaronwinter/readdit,aaronwinter/readdit,aaronwinter/readdit,GautamGupta/readdit,GautamGupta/readdit,GautamGupta/readdit,GautamGupta/readdit,aaronwinter/readdit,GautamGupta/readdit