Encap achievement handling into its own file.