See my article about this project: http://dinhquangtrung.net/blog/some-softwares-i-made