got rid of the metadata tables

Signed-off-by: Alexander Skjolden <alex@plastboks.net>