moved v8 code to dir, polymorphic databaton