various updates recommended by intelliJ
various updates recommended by intelliJ
made outDir final