Removed configuration with Configuration object it was stupid.