finish PubSub for init() method
finish PubSub for init()

Conflicts:
	source/libs/db.js