bug fixes 2, added Metadata support for tables, added delete support