quite a lot's of changes

- monitor part finally added
- done some cleaning
- refactor code
- decrease log frequency