Updated Settings code, Fixed database and enabled ip pool table
population