Initial db design for common schema (work in progress)