Added signum macro
Implemented the ws_image_buffer as ws_object