updated resources, error in kb files, added graph compilation module