Add doc/spec.rst

The blueprint for the APC project.