Live Writer compatible
Code refactory
Merge pull request #17 from wsantos/live_write_compatible

Live write compatible