Government, developers opening more doors to formal, affordable housing