Adding Groups and GroupViews into database