Restructuring level and provider constructor calling and initializing