Bug squashing brings new bug.

Undefined variable $database, located in Atom_Config.php.
Fixed All Bugs

Open a pull request if you find a bug! And suggest additions.