Extended session class to cover all available commands.

Added CFFI header file, this is temporary most likely.