Move functions to functions file

Log also echo-es when second argument is true.
Rename main and launch files
Update README

- update files names
- add installation procedure
- point to configuration file