Apartment complex opens to serve homeless, provide help in transitioning to permanent housing