Because the code is to big I will try and sum it up in words.
This is the latest exception:
Error: Could not find the correct Provider