properly segregate modules and be more selective about imports and what can be exported from a module