Code first draft and image output for doc