class to enable easy access to structures