Refactor database to incorporate tvdb data