moved to unsafe pointers, broken - reconfigure_port doesnt work on unsafe pointers
config open and closes ports inside save/read, redone pointers api