Fixed Eclipse m2e bullshit.
Fixed generics warnings.
Removed unused imports.
Removed unused suppressed warning annotation.
Used try with resources.
Added default serial version ids.
Made position constant.
Added debug view flag.