Base library for GNKW project