Add some design and reorganize database-related modules.
Merge branch 'design' of https://github.com/t4ls/todoapp into design