move inferencer to top-level directory