Created a static loadFragment method to handle fragment replacements throughout the app