Initial checkin of rest API plugin