factories for tank and bullet + simple singleton id generator