Update Main.py

Blending is now done in the main module as opposed to the transform module. Also, registration validation is added in this module