Made class for keymanager