Initial commit: backend code, db initializer, and log files