Add functionality to submit items from database to PubSub nodes; Change the fashion by which items are sent; Fix minor issues.