Made server multi-threaded, refactored code
Added more test files to web folder