Bubble Factory and Auto Updater

Implemented a functioning BubbleFactory and update function.
Additional BubbleFactory changes

some changes that didnt get commited before.