object creat object flow state todo auto gener method stub implement except 