move package main under cmd/rep