Goify repository

Move repository.go to top level directory and goify it.

Signed-off-by: Pekka Enberg <penberg@cloudius-systems.com>