Make key function

Simple function to make and verify a key's uniqueness
Function to create a session recipe

Basically just takes some parameters and stores the recipe in MySQL
Cleaning up some of the basic MySQL schema