updated json classes and gui