Remove unused headers
Add luts and hash tables.