Updated blog, cleaned up the source code