add back end logic and new Json 2 object library