v0.1.0: Refactored handler mechanism

Moved the main execution loop to the handler stack and introduced the context proxy.