it is definetely a flatworm, and I suggest you kill them all quick. I had a few at one time, and now my tank is infested with them. they reproduce like crazy, and will cover any zoos causing them to close. They also let out bad toxins when they die. You dont have to take my word for it, just post in the reef section.
Randy