Base application modules

Re-organize modules
Couchdb plugin test
Application use test