Changes package to main and adds heuristic stubs.