Added global class and removed files

- Added a class for global variables
- Removed unnecessary files