modularized my classes...needs work because my global variable design sucked