fixed problem with timer not stopping on keyboard interrupt

also:
- reordered directory structure
- added colourful logging functions