bootstrap and entity setup