Now check and give proper error to imports. Check if needed folders exists and creates them otherwise.