Add database schema file and model files

Signed-off-by: Prashant Shah <pshah.me@gmail.com>