Improve performance!

Try to make the code a little bit faster by using less maps and strings. I still haven't tried turning the maps used for moves into real objects, but that could potentially also have a nice positive impact.