[WiP]Feature/api changes

making adaptions for HAL API