Removed orphan migrations de-registration, refactored yaml migration fetching to its own function, added static variable for yaml functions.