added initial schema
added quick tester and test case, fixed schema bug
added new test case, fixed another schema bug