Having multiple code panes (files) is a recurring feature request that hopefully we'll get to at some point. Similarly we have some ideas around testing - automated testing for spreadsheets seems like it could be very useful! You can pip install anything you want though, so having your orgs libraries separately installable is one way to go about it.