More path.existsSync removal. Refactored timeout test. Refactored tests.
Refactored http class.