Clean imports and better handle null pointer exceptions with apache library