project cleanup, fixed warnings, deleted unused class, closed resources