moved patches to their own files

Added existence validator
Udpated gems