Found a way to gather DB data, now I need to sort out the mess