ignore
large refactoring, added unit tests, fixed discover ergs
added demoDiscoverErgs
fixed ignore