Add document about internal structure