started implementing piece view logic

Signed-off-by: jeffjin <jeff@jeffjin.com>