Added in initial code. At this point pretty much a shell of pat.