Added interfaces for galaxy storage, cleaned up some of my old code.