Added design doc

Doc to be used as map for modules and their subroutines, change as
needed, add details as moving towards completion.