2D to 3D conversion software

Dear CClers
 I would appreciate getting pointers/info on freely available softwares
 on 2D to 3D conversion of molecular structures. Source code information
 would be more useful. Also I would like to receive source code info
 on Molecular Mechanics programs. Thanks in advance.
 S Parthiban