Renamed slim to gmf and refactor bot

Refactor bot to no longer use global conncetion but pass out the writer
as needed instead. Plugins now have their own namespace and folder.