Added method PHPDocs commet
Refactored process_bul_action to fix some issues with the logic and added some functionality to prepare for future messaging support. Closes #4. Issue #2 is partially addressed here and some refatoring was done regarding that, but it is still untested.