   @param {Function} Callback when the process is complete
   ###
   execute = (sql, callback) ->
-    lng.Core.log 1, "lng.Data.Sql >> " + sql
     db.transaction (transaction) ->
       transaction.executeSql sql, [], ((transaction, rs) ->
         _callbackResponse callback, rs
       ), (transaction, error) ->
         transaction.executedQuery = sql
         _throwError.apply null, arguments
-
-
-  _createSchema = ->
-    schema = CONFIG.schema
-    schema_len = schema.length
-    return  unless schema_len
-    i = 0
-
-    while i < schema_len
-      current = schema[i]
-      _regenerateTable current
-      _createTable current.name, current.fields
-      i++
 
   _createTable = (table, fields) ->
     sql_fields = ""

###

Device.DB = do(dvc = Device) ->
  ERROR = lng.Constants.ERROR
  CONFIG =
    name: "lungo_db"
    version: "1.0"
    size: 65536
    schema: []

  db = null

  ###

  @method init
  @param {object} Configuration for the Database
  ###
  init = (name, version, size, schema) ->
    db = openDatabase name, version, name, size
    if db
      schema_len = schema.length
      return unless schema_len
      i = 0
      while i < schema_len
        current = schema[i]
        _regenerateTable current
        _createTable current.name, current.fields
        i++

    else
      throw new Error "[ERROR] Device.DB: DB unnecesible"


  ###
