made mcp program
Reorganised the structure