Removed unneeded print statements
Refactoring the main class and splash screen