Added multiprocessing to application and did some cleanup.