moved logic out of run.py and created splash blueprint to handle app routing