transitioning to globals

started changing and reorganizing to make use of the static class