move mk files into mk dir

Signed-off-by: Mattias Andrée <maandree@operamail.com>
split out util from mds-registry

Signed-off-by: Mattias Andrée <maandree@operamail.com>
split out globals from mds-registry

Signed-off-by: Mattias Andrée <maandree@operamail.com>