Sorry to hear you have been refused.
From what you have said you should have good grounds for an appeal.
Did you include a supporting letter in your application and did you explain all your visits in that letter?
Included in the returned documents should be the information on how to appeal, also see this link http://www.ukba.homeoffice.gov.uk/vi...-info/appeals/
Good luck with your appeal.