Overhaul
Moved the router-config to client-only area because it doesn't need to be shared.
Moved the server methods defined in the goals.js to the server-only area.
Chnaged the name of server.js to publications.js to emphasize the content of it.
Changed some names of functions, removed unused functions.
Changed the publication/subscription model to a single-goal only strategy so that no one can look at all the goals at once.