Live write compatible

Now i can publish from Live Writer, maybe need more work but it is a start.