java doesn't seem to want to interop with scala package objects. fixed that by not using the package object