removed one module, changed try-catch style to java 6