Added trends capability

Need an actual trends table, but now trends can be updated with web
sockets