The town is applying for a federal Housing Rehabilitation Program to help low- and moderate-income residents fix their homes.