Add support for configuration parsing and multiple instances