init model and interface