REST API controller

Signed-off-by: pussbb <pussbb@gmail.com>