Cleaning up adapter and making more things private
Fixing docblocck
Cleaning up formatting and making private
Making variable private
Making more privates and cleaning up formatting
Simplifying and updating cookie implementation