integrate the Media Library into a plugin for wordpress