make vector library usable from other libraries
use vectors instead of tables for entities