Moved the spa functionality to protos.spa namespace