Presumably he's in the military. He wears a uniform. I believe he's introduced as Lieutenant. At times, I think (don't really remember), there are references to his military duties. But, he seems to work for the Collins family. Today when he came, Barnabas asked if there was a problem at the shipyard. Surely the Army or Navy, or whatever he was part of, didn't loan their officers to local business.