Moved setup to its own function.
Achievement uses id
Achievements rewrite.
Addet prefix r_ to reacertch ids.