Rework

Pulling out alot of the POC code and bringing in some slightly more robust design principles. No encryption yet in, but session ready to go.