move share-showdown code to controller, dynamic file naming