added preparedstatements, api recognision system, multi threaded requests and response writing bug was fixed 2