Work towards schema base.
Added tests for schema and updated README