interface package and some other fixes