Autoload cookies and refactoring for frame config
First crack at real documentation