Add findbugs and perform improve source code according to recommendations.