add documentation
add documentation, structure, getters for inner class