Move support documents to extras\ dir
Move classes to separate source files

* Add testing code at with if __FILE__ then