added PVLeftOf() function
working on relation part
done relation part
completed single constraint with tests
removed old code