Remove unused config
Remove image dependence on gallery
Remove the use of galleries
Remove gallery model and table