Findbugs

Added findbugs to maven, and fixed 15 simple warnings
inner classes that are not static consume more memory