added wrapper for const member function
added helper functions ksCreateClassMaster + ksRegisterMemberFunction