Added slugs to resources
Seperated gatherer/agent/robot and server js