Refactored construction of subnet objects
Added support for allocation pools