logging and maven fixes , packaging