docs
Move Dot* class into a library.