diff --git a/bin/couchapp b/bin/couchapp
deleted file mode 100755
index bf86f08..0000000
--- a/bin/couchapp
+++ /dev/null
@@ -1,58 +0,0 @@
-#!/usr/bin/env ruby
-
-require 'optparse'
-require File.expand_path(File.dirname(__FILE__)) + '/../lib/couchrest'
-
-options = {
- :loud => true,
-}
-
-opts = OptionParser.new do |opts|
- opts.banner = "Usage: #$0 [options] (push|pull|generate)"
- opts.on('-q', '--quiet', "Omit extra debug info") do
- options[:loud] = false
- end
- opts.on_tail('-h', '--help', "Display detailed help and exit") do
- puts opts
- exit
- end
-end
-
-opts.parse!(ARGV)
-
-case ARGV.shift
-when /generate/
- appname = ARGV.shift
- current = Dir.getwd
- appdir = File.join(current, appname)
- puts "generating couchapp in #{appdir}"
- CouchRest::FileManager.generate_app(appdir)
-
-when /push/
- dirname = ARGV.shift
- current = Dir.getwd
- dir = File.expand_path(File.join(current, dirname))
- dirapp = File.split(dir).last
- if ARGV.length == 2
- appname = ARGV.shift
- dbstring = ARGV.shift
- elsif ARGV.length == 1
- appname = dirapp
- dbstring = ARGV.shift
- else
- puts opts
- puts "push dirname [appname] database"
- exit(0)
- end
- CouchRest.database!(dbstring)
- dbspec = CouchRest.parse(dbstring)
- fm = CouchRest::FileManager.new(dbspec[:database], dbspec[:host])
- fm.push_app(dir, appname)
-
-when /pull/
- puts "pull is not yet implemented"
-
-else
- puts opts
- puts "please specify a command"
-end
\ No newline at end of file
diff --git a/lib/couchrest/helper/app-template/_attachments/index.html b/lib/couchrest/helper/app-template/_attachments/index.html
deleted file mode 100644
index f004b99..0000000
--- a/lib/couchrest/helper/app-template/_attachments/index.html
+++ /dev/null
@@ -1,26 +0,0 @@
-
-
-
- Generated CouchApp
-
-
-
-
Generated CouchApp
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/lib/couchrest/helper/app-template/foo/bar.txt b/lib/couchrest/helper/app-template/foo/bar.txt
deleted file mode 100644
index 5a8cbe4..0000000
--- a/lib/couchrest/helper/app-template/foo/bar.txt
+++ /dev/null
@@ -1,11 +0,0 @@
-Couchapp will create a field on your document corresponding to any directories you make within the application directory, with the text of any files found as key/value pairs.
-
-Also, any files that end in .json will be treated as json rather than text, and put in the corresponding field. Also note that file.json, file.js, or file.txt will be stored under the "file" key, so don't make collisions in the filesystem unless you want unpredictable results.
-
-Of course you know that the views directory will be treated specially and -map and -reduce files will be mapped to the map and reduce functions. And the _attachments directory will be treated strangely as well.
-
-doc.json is a special case, it is treated as json and its keys are applied to the document root; eg it does not result in a "doc" field on your design document. If you need a doc field on the design document, you'll have to define it with a doc.json like so: {"doc":"value for doc field"}
-
-ps: each design document only has one language key: it will be set based on the file extensions in the views directory. CouchDB defaults to Javascript, so that's what you'll get if you don't define any views. You can override it with the doc.json file, but don't say we didn't warn you.
-
-Oh yeah it's recommended that you delete this file.
\ No newline at end of file
diff --git a/lib/couchrest/helper/app-template/forms/example-form.js b/lib/couchrest/helper/app-template/forms/example-form.js
deleted file mode 100644
index e145fc5..0000000
--- a/lib/couchrest/helper/app-template/forms/example-form.js
+++ /dev/null
@@ -1,16 +0,0 @@
-function(doc, req) {
- // !code lib.helpers.template
- // !json lib.templates
-
- respondWith(req, {
- html : function() {
- var html = template(lib.templates.example, doc);
- return {body:html}
- },
- xml : function() {
- return {
- body :
- }
- }
- })
-};
\ No newline at end of file
diff --git a/lib/couchrest/helper/app-template/lib/helpers/math.js b/lib/couchrest/helper/app-template/lib/helpers/math.js
deleted file mode 100644
index 2b0ee11..0000000
--- a/lib/couchrest/helper/app-template/lib/helpers/math.js
+++ /dev/null
@@ -1 +0,0 @@
-function stddev() {};
\ No newline at end of file
diff --git a/lib/couchrest/helper/app-template/lib/helpers/template.js b/lib/couchrest/helper/app-template/lib/helpers/template.js
deleted file mode 100644
index 03499b0..0000000
--- a/lib/couchrest/helper/app-template/lib/helpers/template.js
+++ /dev/null
@@ -1,32 +0,0 @@
-// Simple JavaScript Templating
-// John Resig - http://ejohn.org/ - MIT Licensed
-var cache = {};
-
-function template(str, data){
- // Figure out if we're getting a template, or if we need to
- // load the template - and be sure to cache the result.
- var fn = cache[str] ||
-
- // Generate a reusable function that will serve as a template
- // generator (and which will be cached).
- new Function("obj",
- "var p=[],print=function(){p.push.apply(p,arguments);};" +
-
- // Introduce the data as local variables using with(){}
- "with(obj){p.push('" +
-
- // Convert the template into pure JavaScript
- str
- .replace(/[\r\t\n]/g, " ")
- .replace(/'(?=[^%]*%>)/g,"\t")
- .split("'").join("\\'")
- .split("\t").join("'")
- .replace(/<%=(.+?)%>/g, "',$1,'")
- .split("<%").join("');")
- .split("%>").join("p.push('")
- + "');}return p.join('');");
- cache[str] = fn;
-
- // Provide some basic currying to the user
- return data ? fn( data ) : fn;
-};
\ No newline at end of file
diff --git a/lib/couchrest/helper/app-template/lib/templates/example.html b/lib/couchrest/helper/app-template/lib/templates/example.html
deleted file mode 100644
index 6e1aa89..0000000
--- a/lib/couchrest/helper/app-template/lib/templates/example.html
+++ /dev/null
@@ -1,26 +0,0 @@
-
-
-
- Generated CouchApp Form Template
-
-
-