Added dynamic loading of input module