Add functional analysis
move some of the tmdd doc in "docs"