changes to object system + added ksLibrary