More more changes to make the RESTful interface work
Updated the name 'memory' to 'view' throughout
some minor re-arrangement in vault.rb