add schema

closes #16