public static DataLayer GetInstance()
    {
        //For the first request, the _singletonInstance object is instansiated
        if (_singletonInstance == null)
        {
            _singletonInstance = new DataLayer();
            _singletonInstance.ConfigureApplication();
        }

        return _singletonInstance;
    }