CAPX-84 | Slight refactoring to entity importer, created batch, queue, and doitall functions, added some meta information handling as well