Functional, but unverified SPADE implementation
Updated progress