[REFACTOR] remove ill advised accessors
[UPDATE] return id as json after a POST
[TEST] test that POSTs return the id as json
[TEST] test file creation