Moved rest related files to rest sub package rest.

Signed-off-by: Krtek <qwetek@gmail.com>