Added some basic method comments, and changed SetKeys method parameters to JSON