Remove assignRef

Use of assignRef is deprecated
Save Gamersafe achievements

Added support for saving achievements to database