set up namespace in todo.js
todos model with basic restful actions