Prototype now works

But needs a lot of tweaking
Working version backup
Working version backup