Merge pull request #1 from sdphp/master

Merging Structure Changes
Changing permissions. Adding 'domain' to session config
Merge pull request #48 from aequasi/master

Session config needs domain