package-name and modernize

"main.java." is not a part of package-name