started abstraction of h5 interface from model