restapi: move class to another package

moved two classes to another package in another project

Change-Id: I36f4bfe8506a6d78aff6a3f90e6f6197f2e62d30
Signed-off-by: Laszlo Hornyak <lhornyak@redhat.com>