See extended description.

Started work on ACP.
Now handles requests more efficiently.
Database class more flexible.