Modular controllers