Implemented Settings

Also added a JSON library