- changed imports to relative
- added logging