Make BASE_PATH the responsibility of core