added attach file to jira collector and separeted all code of collector. API minor update