Fixed some missprints. Added apache commons ans apache commons IO libs.