moved main.cpp
moved bullet code to helper class