added gitignore and gateway template
refactored ordering of fragments to make it more extensible
refactored ordering of fragments to make it more extensible
added space in to gateway template