Separated out host anti-affinity as a plugin.
Added apache license header
Schema changes to create affinity group tables