many small changes to docs and templates
make api a module within inbox