Documentation comments and readability improvements
Implemented basic delivery logic
Proper unloading of the module