add PubSub for Structure class, modify structure.update()
Merge branch 'DatabaseServer' of https://github.com/skiadas/PanthR into DatabaseServer