removing lookup.php
Fixing a few issues and building the union code