Front-End Media Uploader code location

I would like to know where the Media Uploader code for front-end posting functionality of this plugin is located so I can try to replicate it in another plugin that was recommended to me here: https://premium.wpmudev.org/forums/topic/front-end-posting#post-323108