abide by schema

closes #3
closes #4
add schema