Functions.php as a plugin

An idea and full explanation (by Justin Tadlock).