Made some changes to the games.json format and implemented automatic user dir creation among other things