adding storage to the permissions array
adding array_difference function to the main.js
working port_handler, added gui object