asynchronous http requests implemented; some fixes