Revert "Put the base of the API (use TgaApiFramework)"

This reverts commit 7fdf25fd7aac492c8309bb856eb062a2dc451377.