Refactored namespaced mbta lab