Merge pull request #3 from raehik/dev

Merge dev into master
Fix branch and describe better in README.md
Merge pull request #4 from raehik/dev

functions now run by separate files, not by main (main only loads files,...