Split model as standalone service and adapt resource service to use it.
Remove unnecesary code from issues controller.
Fix invalid modification check on model save.