Finished implementation

Implemented main
Added License
Added python hashbang
Changed readfile to use selector and processor