now builds with maven
get rid of eclipse compiler warnings