HTML writer basic implementation done