interim commit before integration test refactor
added main config to hold representation factory
working except for add
Fixed integration tests