Rename the controller files.
Re-implement distance metrics in the database.
Clean up references to Alias, these were hidden by a .pyc
Fix dataset counts.