Create folders based on name and move files into

Hi, I'm a newbie 
.... and did quite some search....., but not sure if this is possible with Hazel:
I have an import folder - for example Tmp_Import -, where I move all my already renamed media files from cameras (pictures and videos)
The goal would be:
Create, if not already existing, a subfolder in main folder: MEDIA,
named year with 4 digits (bases on first 4 characters in filename), like "2017"
Inside this folder create a subfolder (yyyy_mm_dd / again based on filename) for each file, if folder does not exist already (like "2017_01_17", "2017_01_20")
Last action:
Move all files from Tmp_Import to the "corresponding" subfolders in MEDIA
All files in Tmp_Import are named like:
2016_12_24_20.57.26_[Canon PowerShot G12].JPG
(yyy_mm_dd_.....) meaning the first 10 digits contain all the relevant infos for the "action".
Help very appreciated, this "feature" would help me with my buying decision
Thx.

.... and did quite some search....., but not sure if this is possible with Hazel:
I have an import folder - for example Tmp_Import -, where I move all my already renamed media files from cameras (pictures and videos)
The goal would be:
Create, if not already existing, a subfolder in main folder: MEDIA,
named year with 4 digits (bases on first 4 characters in filename), like "2017"
Inside this folder create a subfolder (yyyy_mm_dd / again based on filename) for each file, if folder does not exist already (like "2017_01_17", "2017_01_20")
Last action:
Move all files from Tmp_Import to the "corresponding" subfolders in MEDIA
All files in Tmp_Import are named like:
2016_12_24_20.57.26_[Canon PowerShot G12].JPG
(yyy_mm_dd_.....) meaning the first 10 digits contain all the relevant infos for the "action".
Help very appreciated, this "feature" would help me with my buying decision

Thx.