move utils class to apollo project