One central module to create and read a cookie. Only really a helper function.