refacatoring: freeboxAPI.py creation