Added python wrapper class and various little things