pmap now returns parallel http
cleaned up erlang code
added map test