Developer to convert old factory in Wayne Junction into apartments