makes splits pluggable
fix eclipse warnings
unused imports
cleanup warnings