Added spa module with compare and working scalars