Update main.js

Finished gang direction update and sync
Put botStore stuff on subscribe back, so that bots get stored once they connect, without having to wait for them to send their info once a minute
Sample API calls (just within the actionGetKeyspace function, commented out)