Design doc

Added rough design document