For me worked well solution:
1) Create library notebook. For example - "Lib" with any functions/classes there (no runnable code).
2) Create main notebook. For example - "Main"
3) To import into main all classes & functions from Lib to Main use comma...