Input module and dersired outputs

Modified input modules and develped the desired output generation module