Create a proper route for each algorithm, removing the need for view attributes in models.
Move the algorithm implementations to a separate folder.
Quick fix graph view js error on first run.