Move core.fninfo into util

* Fix import statements to be package-relative