Defined basic library architecture to support async operations. Added support for asynchronous testing.