refactor bacon finder cli