minor changes

Signed-off-by: gitta-mannen <mail@janpettersson.com>
Did some refactoring of packages.
Gui now displays the tables in the db.

Signed-off-by: gitta-mannen <mail@janpettersson.com>