Added background processes.

Finished code.
Finished commenting the code.
Added new code to report.