removed some warnings
converted to maven project