Implementing methods with help from http://www.minecraftforge.net/wiki/Containers_and_GUIs