Updating Python KGLib implementation and console test script