setup entities only if setup_entities equals true
Merge pull request #47 from chamankang/develop

setup entities only if setup_entities equals true