diff --git a/src/github.com/matrix-org/dendrite/clientapi/clientapi.go b/src/github.com/matrix-org/dendrite/cmd/clientapi/main.go similarity index 100% rename from src/github.com/matrix-org/dendrite/clientapi/clientapi.go rename to src/github.com/matrix-org/dendrite/cmd/clientapi/main.go diff --git a/src/github.com/matrix-org/dendrite/tools/create-room-events/main.go b/src/github.com/matrix-org/dendrite/cmd/create-room-events/main.go similarity index 100% rename from src/github.com/matrix-org/dendrite/tools/create-room-events/main.go rename to src/github.com/matrix-org/dendrite/cmd/create-room-events/main.go diff --git a/src/github.com/matrix-org/dendrite/tools/kafka-producer/main.go b/src/github.com/matrix-org/dendrite/cmd/kafka-producer/main.go similarity index 100% rename from src/github.com/matrix-org/dendrite/tools/kafka-producer/main.go rename to src/github.com/matrix-org/dendrite/cmd/kafka-producer/main.go diff --git a/src/github.com/matrix-org/dendrite/roomserver/roomserver-integration-tests/main.go b/src/github.com/matrix-org/dendrite/cmd/roomserver-integration-tests/main.go similarity index 100% rename from src/github.com/matrix-org/dendrite/roomserver/roomserver-integration-tests/main.go rename to src/github.com/matrix-org/dendrite/cmd/roomserver-integration-tests/main.go diff --git a/src/github.com/matrix-org/dendrite/roomserver/roomserver/roomserver.go b/src/github.com/matrix-org/dendrite/cmd/roomserver/main.go similarity index 100% rename from src/github.com/matrix-org/dendrite/roomserver/roomserver/roomserver.go rename to src/github.com/matrix-org/dendrite/cmd/roomserver/main.go