Start working on database relationship functionality