Add Reference Class

Signed-off-by: Wadjetz <egor.neon@gmail.com>