Added method saving and calling

You are now able to call methods by typing its key.
This is done in the callMethod(key) method.