Fixed ip ranges
Added private class