after two tours of duty overseas , he 'd ended up working at a military base stateside in the management information system department doing software-related work and dabbling in his own development work on the side .