diff --git a/CHANGES b/CHANGES
new file mode 100644
--- /dev/null
+++ b/CHANGES
@@ -0,0 +1,2 @@
+0.5: 12 Dec 2011
+   * First public release. basic pen operation, eraser operation, rectangular selection and file operations are implemented
diff --git a/csrc/template-hsc-gtk2hs.h b/csrc/template-hsc-gtk2hs.h
new file mode 100644
--- /dev/null
+++ b/csrc/template-hsc-gtk2hs.h
@@ -0,0 +1,17 @@
+#ifndef _TEMPLATE_HSC_GTK2HS_H_
+#define _TEMPLATE_HSC_GTK2HS_H_
+
+#include <glib.h>
+
+#define hsc_gtk2hs_type(t)                        \
+  if ((t)(int)(t)1.4 == (t)1.4)                   \
+    printf ("%s%" G_GSIZE_FORMAT,                 \
+      (t)(-1) < (t)0 ? "Int" : "Word",            \
+            sizeof (t) * 8);                      \
+  else                                            \
+    printf ("%s",                                 \
+      sizeof (t) >  sizeof (double) ? "LDouble" : \
+      sizeof (t) == sizeof (double) ? "Double"  : \
+            "Float");
+
+#endif
diff --git a/hxournal.cabal b/hxournal.cabal
--- a/hxournal.cabal
+++ b/hxournal.cabal
@@ -1,16 +1,18 @@
 Name:		hxournal
-Version:	0.5
+Version:	0.5.0.0
 Synopsis:	A pen notetaking program written in haskell 
 Description: 	notetaking program written in haskell and gtk2hs
 License: 	BSD3
 License-file:	LICENSE
 Author:		Ian-Woo Kim
 Maintainer: 	Ian-Woo Kim <ianwookim@gmail.com>
+Category:       Application
+Tested-with:    GHC == 7.0.3
 Build-Type: 	Simple
 Cabal-Version:  >= 1.8
 data-files:     template/*.html.st
                 resource/*.png
-
+                CHANGES
 
 Executable hxournal
   Main-is: hxournal.hs
@@ -20,7 +22,7 @@
   Build-Depends: 
                  base>4, 
                  cmdargs >= 0.7 && <= 0.10, 
-                 hxournal == 0.5
+                 hxournal 
 
 Library
   hs-source-dirs: lib
@@ -92,6 +94,6 @@
                    csrc/c_initdevice.c
   include-dirs:    csrc
   install-includes: 
-                   c_initdevice.h
-
+                   csrc/c_initdevice.h
+                   csrc/template-hsc-gtk2hs.h
 		 
