Achievements

I added a beginning of Achievements support. It have to be completed, and I'm working on the rest of the achievements support.