Primary key to tables
Shitload of stuff I don't like to detail