old_contents: #!/usr/bin/env python
  # encoding: utf-8
  # Licensed to the Apache Software Foundation (ASF) under one
  # or more contributor license agreements.  See the NOTICE file
  # distributed with this work for additional information
  # regarding copyright ownership.  The ASF licenses this file
  # to you under the Apache License, Version 2.0 (the
  # "License"); you may not use this file except in compliance
  # with the License.  You may obtain a copy of the License at
  #
  #   http://www.apache.org/licenses/LICENSE-2.0
  #
  # Unless required by applicable law or agreed to in writing,
  # software distributed under the License is distributed on an
  # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
  # KIND, either express or implied.  See the License for the
  # specific language governing permissions and limitations
  # under the License.
  
  import os
  
  from flask import Flask
  from flask.ext.sqlalchemy import SQLAlchemy
  
  app = Flask(__name__)
  
  basedir = os.path.abspath(os.path.dirname(__file__))
  
  # Configuration Options
  
  # Application Options
  app.config['DATA'] = basedir + '/data'
  
  # Cloudstack Options
  app.config['CLOUDSTACK_PATH'] = '/client/api'
  app.config['CLOUDSTACK_HOST'] = 'ianduffy.ie'
  app.config['CLOUDSTACK_PORT'] = '8080'
  app.config['CLOUDSTACK_PROTOCOL'] = 'http'
  
  app.config['LISTEN_ADDRESS'] = 'localhost'
  app.config['LISTEN_PORT'] = '5000'
  app.config['PATH'] = 'compute/v1beta15/projects/'
  
  # Sqlite Options
  app.config['SQLALCHEMY_DATABASE_URI'] = 'sqlite:///' + \
      os.path.join(app.config['DATA'], 'app.db')
  
  db = SQLAlchemy(app)
  
  from gcecloudstack.controllers import *
  
  db.create_all()
  
new_contents: #!/usr/bin/env python
  # encoding: utf-8
  # Licensed to the Apache Software Foundation (ASF) under one
  # or more contributor license agreements.  See the NOTICE file
  # distributed with this work for additional information
  # regarding copyright ownership.  The ASF licenses this file
  # to you under the Apache License, Version 2.0 (the
  # "License"); you may not use this file except in compliance
  # with the License.  You may obtain a copy of the License at
  #
  #   http://www.apache.org/licenses/LICENSE-2.0
  #
  # Unless required by applicable law or agreed to in writing,
  # software distributed under the License is distributed on an
  # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
  # KIND, either express or implied.  See the License for the
  # specific language governing permissions and limitations
  # under the License.
  
  import os
  
  from flask import Flask
  from flask.ext.sqlalchemy import SQLAlchemy
  
  app = Flask(__name__)
  
  basedir = os.path.abspath(os.path.dirname(__file__))
  
  # Configuration Options
  app.config['DATA'] = basedir + '/data'
  app.config.from_object(app.config['DATA'] + '/data/config.cfg')
  
  # Sqlite Options
  app.config['SQLALCHEMY_DATABASE_URI'] = 'sqlite:///' + \
      os.path.join(app.config['DATA'], 'app.db')
  
  db = SQLAlchemy(app)
  
  from gcecloudstack.controllers import *
  
  db.create_all()
  
subject: Add configuration file