Refactored ImportController by extracting code to reduce complexity of Import function.
Removed unused MySQL structure