Refactor Twgi Extension + Refactor Media Libray Upload -> Edit