Added detailed class diagram

Added the detailed class diagram for design document. Done in
collaboration with Jordan.