Design Document

Added in a few descriptions to function flow.