added multithreading to server, a handler for all requests and a dodgy dictionary implemented with a hashmap