added bullet class, and some more code