refactor partially done
partial refactor of GDBB for GraphicalInterface
updates