[MifthDemo] refactoring of bullet.