Initial schema for users, transactions, requests

Created /lib/common.js to define schemas