extracted grid bag constraints helper
introduced global configuration concept, enabled in-memory saving