better operation model, extented api
added missing files