Move examples to separate py files and update README