added interrupt pin initialisation
added some log output
added main.py