James Delayo , the acting chief inspector for cranes and derricks at the city Department of Buildings , was charged with taking bribes to approve cranes under his review and ensure that crane operators passed the licensing exam .