Massive additions to documentation

Also adding a feature/module reference system, let's see how it works
out.