Removed accidental debug print
Added support for async calls.
Major revamp.