adds generator for galleries relationships
adds generators tests and updates
prepare :whale: