Abstracted out code used in multiple places, added dummy yaml file.