Change: Refactored ivbs package

Separated packages and related function to theie own files for easier understaning.