template is nearly finished, uploads and edits are working
one more pass is probably needed though.