closes #224 by adding support for schema kwarg in todb and appendb