Doi-Peliti field theory with applications to biologically inspired systems