first cut for lazy loading framework
diff --git a/handler.cgi b/handler.cgi
new file mode 100755
index 0000000..d203f30
--- /dev/null
+++ b/handler.cgi
@@ -0,0 +1,21 @@
+#!/usr/bin/python
+# main handler file
+
+import cgi, cgitb, os, sys
+cgitb.enable()
+
+# import libs
+sys.path.append('lib/py')
+sys.path.append('erpnext')
+
+import webnotes
+import webnotes.defs
+
+webnotes.form = cgi.FieldStorage()
+
+# make the form_dict
+for key in webnotes.form.keys():
+ webnotes.form_dict[key] = webnotes.form.getvalue(key)
+
+# pass on to legacy handler
+import webnotes.handler