Added addInstancesWithMap and createWithMap methods to subview manager