Finished section and permission classes.

Also removed tables variable from ACL class.
Messed around with index.php.