In the afterword to his book The Master Carpenter, author M. T. Vasudevan Nair wrote that Ajayan first approached him for a screenplay of his story Manikkakkallu.[4] That did not materialise and later he approached with another dream project Perumthachan.[4] In the end of the afterword, M. T. thanks Ajayan for persuading him to write the screenplay for Perumthachan.[4]
Ajayan was the eldest son of film director and playwright Thoppil Bhasi.[6] He secured a diploma in film technology from the Adayar film institute. He started as a camera assistant and later worked as an associate director with Thoppil Bhasi, Bharathan, and Padmarajan.[6]