apb/axi interface refactored