Adding a new mode class

Hi Everybody,

I have a solution built in Visual Studio which renders a game map level which was built independently outside of Unreal 4.
What I would like to do is add this code, which renders a map, as plugin like a mode which can be dragged and dropped in the scene like a cone or sphere or box etc.

I was wondering if anyone had done this before or could point me to a link, example or tutorial.

Thank you in advance.