Merge pull request #3 from misa/master

OK: Added basic concept of interface; fixes #2
Merge pull request #8 from misa/master

Customer stored in indexedDB
Merge branch 'master' of git://github.com/misa/offline-client into test
fixed type (fixes #11)