Govt plan to end long-term homelessness in three years