move getter in their own package