moved common libs to its own module