refactor datastore a bit
redirect after POST (PRG) and minor improvements to the controller
renamed 'document' to 'rustpad'