Add write input

Add first complete draft of input file specs