Add eclipse settings, fix eclipse warnings, cleanup