Extending the musicDB functions and moving old code to archive.