Fix issue creation on api controller
Refactors how an issue is created and messaging mechanism to respective modules