fix: moved interface code to header file (where it belongs)