Add ARCHITECTURE file, brief introduction to internals