made main class configurable