get_address_as_uint for mapping
created a simple thread pool class