Altered app.py; can now change class pages fluidly