Key creation is now a method.
Rename variables / constants to match PEP8
Call correct function.
Renamed the session key.