checking in code at a semi working point

finsihed implmenting a working poc