welcome to healthcaremagic
you need a thorough whole body check up and various teast for all the organs involved that you mentioned
there may be some systemic problem thats causing all the problem chronic irregular bowel movement may be diagnosed by
colonoscopy and
biopsy if needed
consult physician first with all your complains and get a physical examination done followed by investigations as suggested
take treatment accordingly