function swift_init()
{
    global $swift;
    require_once 'classes/swift.php';
    $swift = new Swift(__FILE__);
    if (!get_option('object_storage')) {
        //If this isn't in the database, create all of the default values we need.
        $swift->swift_create_bucket('WordPress');
        $options = array('bucket' => 'WordPress', 'expires' => '1', 'object-prefix' => 'wp-content/uploads/', 'copy-to-swift' => '1', 'serve-from-swift' => '1', 'remove-local-file' => '1');
        update_option('object_storage', $options);
    }
}