$500 for a longblock isn't a bad price. i'd tear the whole thing down, get it decked and zeroed, balanced, and cleaned up first. I'd use the existing heads and get them port and polished provided there aren't any problems with them.
Start with the pistons, crank, and lifters. Get those...