refactor into classes
update Makefile and remove unnecessary she-bang lines from module files
updated readme for refactor
Merge pull request #7 from aweiteka/extend

refactor into classes