remove unused IErlLibrary
small fix
add new model interfaces