Added a requirements file.
Refactored sub_process to subprocess