checking in code at a semi working point

finsihed implmenting a working poc
Merge pull request #1 from loftili/initial

checking in code at a semi working point