make inference module a package